package bridging;

import java.math.BigDecimal;

/**
 * 支付方式的抽象类
 */
public abstract class Pay {
    protected IPayMode payMode;

    public Pay(IPayMode payMode) {
        this.payMode = payMode;
    }

    //支付
    public abstract String transfer(String uId, String orderId, BigDecimal amout);
}
